from sqlalchemy import *
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker

import tparser.model
from   tparser.model.trip_plan import  *


class CmdLine(object):
    '''
    '''
    def __init__(self, c):
        self.control = c

    def print_tables(self):
        ses = self.control.get_session()
        u   = ses.query(Trip)[0]
        print 'TP:', u

